package com.bowen.gulimall.order.dao;

import com.bowen.gulimall.order.entity.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单
 *
 * @author bowen
 * @email 1461236870@gmail.com
 * @date 2022-10-21 12:10:20
 */
@Mapper
public interface OrderDao extends BaseMapper<OrderEntity> {

    void updateOrderStatus(@Param("trade_no") String trade_no, @Param("code") Integer code);
}
